﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PMC.Plugins;

namespace PMCgui
{
    public partial class PluginInformationPanel : UserControl
    {
        public PluginInformationPanel(ScriptInfoAttribute current)
        {
            InitializeComponent();
            lbInformation.Text = String.Format(Language.Instance.PluginInformationFormat, current.Title, current.Description, current.Author, current.Version, Environment.NewLine);
            Dock = DockStyle.Fill;
        }
    }
}
